﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="news_list.aspx.cs" Inherits="news_list" MasterPageFile="~/MasterPage.master"%>

<asp:Content ID="News" ContentPlaceHolderID="ContentPlaceHolder_ProductIntro" runat="server" style="background-color:#efefef;">

 <td style="background-color:#efefef;">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
	        <tbody>
		        <tr>
			        <td align="left" valign="bottom"><font style="font-size:30px" color="#007229" face="verdana, arial">&nbsp;<b><i>&#26032;&#38395;&#21015;&#34920;</i></b></font></td>
			        <td align="right"><img src="en/news/news.gif"></td>
		        </tr>
	        </tbody>
	    </table>
	
        <table>
              <asp:Repeater ID="Repeater1" runat="server">
                <ItemTemplate>
                <tbody >
                  <tr >  
                    <td ><asp:Hyperlink ID="Link1" Text='<%# DataBinder.Eval(Container.DataItem, "title")%>' runat="server" NavigateUrl='<%# "ViewNews.aspx?id="+DataBinder.Eval(Container.DataItem, "id") %>' target="_blank" style="font-family: verdana,arial; font-size: 16px;color: rgb(0, 114, 41);"></asp:Hyperlink></td>
                    <td style="font-family: verdana,arial; font-size: 11px;color: rgb(0, 114, 41);"><%# DataBinder.Eval(Container.DataItem, "Optime")%></td>
                  </tr>
                  </tbody>
                </ItemTemplate>
                <FooterTemplate>   
                </FooterTemplate>
            </asp:Repeater> 
         </table>
         
     <div style="margin-top:200px">
       <asp:label ID="lblCurrentPage" runat="server"></asp:label>
       <asp:HyperLink id="lnkFrist"  runat="server" style="font-family: verdana,arial; font-size: 16px; color: rgb(0, 114, 41);">First</asp:HyperLink>
       <asp:HyperLink id="lnkPrev" runat="server" style="font-family: verdana,arial; font-size: 16px; color: rgb(0, 114, 41);">Forward</asp:HyperLink>
       <asp:HyperLink id="lnkNext" runat="server" style="font-family: verdana,arial; font-size: 16px; color: rgb(0, 114, 41);">Next</asp:HyperLink> 
       <asp:HyperLink id="lnkEnd" runat="server" style="font-family: verdana,arial; font-size: 16px; color: rgb(0, 114, 41);">Last</asp:HyperLink>
    </div>

</td>

</asp:Content>